/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package entidades;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 *
 * @author dvasquez
 */
@Entity
@Table(name = "marshallControl")
@NamedQueries({@NamedQuery(name = "MarshallControl.findAll", query = "SELECT m FROM MarshallControl m"), @NamedQuery(name = "MarshallControl.findById", query = "SELECT m FROM MarshallControl m WHERE m.id = :id"), @NamedQuery(name = "MarshallControl.findByFechaConfeccion", query = "SELECT m FROM MarshallControl m WHERE m.fechaConfeccion = :fechaConfeccion"), @NamedQuery(name = "MarshallControl.findByCordon", query = "SELECT m FROM MarshallControl m WHERE m.cordon = :cordon"), @NamedQuery(name = "MarshallControl.findByCapa", query = "SELECT m FROM MarshallControl m WHERE m.capa = :capa"), @NamedQuery(name = "MarshallControl.findByCamionesTransp", query = "SELECT m FROM MarshallControl m WHERE m.camionesTransp = :camionesTransp"), @NamedQuery(name = "MarshallControl.findByConfeccionEnSitio", query = "SELECT m FROM MarshallControl m WHERE m.confeccionEnSitio = :confeccionEnSitio"), @NamedQuery(name = "MarshallControl.findByFabrPlanta", query = "SELECT m FROM MarshallControl m WHERE m.fabrPlanta = :fabrPlanta"), @NamedQuery(name = "MarshallControl.findByEmpresaSuministradora", query = "SELECT m FROM MarshallControl m WHERE m.empresaSuministradora = :empresaSuministradora"), @NamedQuery(name = "MarshallControl.findByCantidad", query = "SELECT m FROM MarshallControl m WHERE m.cantidad = :cantidad"), @NamedQuery(name = "MarshallControl.findByTipoLigante", query = "SELECT m FROM MarshallControl m WHERE m.tipoLigante = :tipoLigante"), @NamedQuery(name = "MarshallControl.findByTipoMezcla", query = "SELECT m FROM MarshallControl m WHERE m.tipoMezcla = :tipoMezcla"), @NamedQuery(name = "MarshallControl.findByUbicacionMezcla", query = "SELECT m FROM MarshallControl m WHERE m.ubicacionMezcla = :ubicacionMezcla"), @NamedQuery(name = "MarshallControl.findByTempMezcladoDiseno", query = "SELECT m FROM MarshallControl m WHERE m.tempMezcladoDiseno = :tempMezcladoDiseno"), @NamedQuery(name = "MarshallControl.findByTempCompactDiseno", query = "SELECT m FROM MarshallControl m WHERE m.tempCompactDiseno = :tempCompactDiseno"), @NamedQuery(name = "MarshallControl.findByTempSalidaPlantaCamion", query = "SELECT m FROM MarshallControl m WHERE m.tempSalidaPlantaCamion = :tempSalidaPlantaCamion"), @NamedQuery(name = "MarshallControl.findByTempLlegadaObraCamion", query = "SELECT m FROM MarshallControl m WHERE m.tempLlegadaObraCamion = :tempLlegadaObraCamion"), @NamedQuery(name = "MarshallControl.findByTempCompactProb", query = "SELECT m FROM MarshallControl m WHERE m.tempCompactProb = :tempCompactProb"), @NamedQuery(name = "MarshallControl.findByTempCompactCarpeta", query = "SELECT m FROM MarshallControl m WHERE m.tempCompactCarpeta = :tempCompactCarpeta"), @NamedQuery(name = "MarshallControl.findByTempAmbiente", query = "SELECT m FROM MarshallControl m WHERE m.tempAmbiente = :tempAmbiente"), @NamedQuery(name = "MarshallControl.findByHoraTerminoDescarga", query = "SELECT m FROM MarshallControl m WHERE m.horaTerminoDescarga = :horaTerminoDescarga"), @NamedQuery(name = "MarshallControl.findByHoraSalidaCamion", query = "SELECT m FROM MarshallControl m WHERE m.horaSalidaCamion = :horaSalidaCamion"), @NamedQuery(name = "MarshallControl.findByHoraLlegadaCamion", query = "SELECT m FROM MarshallControl m WHERE m.horaLlegadaCamion = :horaLlegadaCamion"), @NamedQuery(name = "MarshallControl.findByCodigoTermometro", query = "SELECT m FROM MarshallControl m WHERE m.codigoTermometro = :codigoTermometro"), @NamedQuery(name = "MarshallControl.findByTipoTransito", query = "SELECT m FROM MarshallControl m WHERE m.tipoTransito = :tipoTransito"), @NamedQuery(name = "MarshallControl.findByGuia", query = "SELECT m FROM MarshallControl m WHERE m.guia = :guia"), @NamedQuery(name = "MarshallControl.findByPatenteCamion", query = "SELECT m FROM MarshallControl m WHERE m.patenteCamion = :patenteCamion")})
public class MarshallControl implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @Column(name = "ID")
    private Integer id;
    @Column(name = "fechaConfeccion")
    @Temporal(TemporalType.DATE)
    private Date fechaConfeccion;
    @Column(name = "cordon")
    private Boolean cordon;
    @Column(name = "capa")
    private Boolean capa;
    @Column(name = "camionesTransp")
    private Boolean camionesTransp;
    @Column(name = "confeccionEnSitio")
    private Boolean confeccionEnSitio;
    @Column(name = "fabrPlanta")
    private Boolean fabrPlanta;
    @Column(name = "empresaSuministradora")
    private String empresaSuministradora;
    @Column(name = "cantidad")
    private BigDecimal cantidad;
    @Column(name = "tipoLigante")
    private String tipoLigante;
    @Column(name = "tipoMezcla")
    private String tipoMezcla;
    @Column(name = "ubicacionMezcla")
    private String ubicacionMezcla;
    @Column(name = "tempMezcladoDiseno")
    private BigDecimal tempMezcladoDiseno;
    @Column(name = "tempCompactDiseno")
    private BigDecimal tempCompactDiseno;
    @Column(name = "tempSalidaPlantaCamion")
    private BigDecimal tempSalidaPlantaCamion;
    @Column(name = "tempLlegadaObraCamion")
    private BigDecimal tempLlegadaObraCamion;
    @Column(name = "tempCompactProb")
    private BigDecimal tempCompactProb;
    @Column(name = "tempCompactCarpeta")
    private BigDecimal tempCompactCarpeta;
    @Column(name = "tempAmbiente")
    private BigDecimal tempAmbiente;
    @Column(name = "horaTerminoDescarga")
    private String horaTerminoDescarga;
    @Column(name = "horaSalidaCamion")
    private String horaSalidaCamion;
    @Column(name = "horaLlegadaCamion")
    private String horaLlegadaCamion;
    @Column(name = "codigoTermometro")
    private String codigoTermometro;
    @Column(name = "tipoTransito")
    private String tipoTransito;
    @Column(name = "guia")
    private Integer guia;
    @Column(name = "patenteCamion")
    private String patenteCamion;

    public MarshallControl() {
    }

    public MarshallControl(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getFechaConfeccion() {
        return fechaConfeccion;
    }

    public void setFechaConfeccion(Date fechaConfeccion) {
        this.fechaConfeccion = fechaConfeccion;
    }

    public Boolean getCordon() {
        return cordon;
    }

    public void setCordon(Boolean cordon) {
        this.cordon = cordon;
    }

    public Boolean getCapa() {
        return capa;
    }

    public void setCapa(Boolean capa) {
        this.capa = capa;
    }

    public Boolean getCamionesTransp() {
        return camionesTransp;
    }

    public void setCamionesTransp(Boolean camionesTransp) {
        this.camionesTransp = camionesTransp;
    }

    public Boolean getConfeccionEnSitio() {
        return confeccionEnSitio;
    }

    public void setConfeccionEnSitio(Boolean confeccionEnSitio) {
        this.confeccionEnSitio = confeccionEnSitio;
    }

    public Boolean getFabrPlanta() {
        return fabrPlanta;
    }

    public void setFabrPlanta(Boolean fabrPlanta) {
        this.fabrPlanta = fabrPlanta;
    }

    public String getEmpresaSuministradora() {
        return empresaSuministradora;
    }

    public void setEmpresaSuministradora(String empresaSuministradora) {
        this.empresaSuministradora = empresaSuministradora;
    }

    public BigDecimal getCantidad() {
        return cantidad;
    }

    public void setCantidad(BigDecimal cantidad) {
        this.cantidad = cantidad;
    }

    public String getTipoLigante() {
        return tipoLigante;
    }

    public void setTipoLigante(String tipoLigante) {
        this.tipoLigante = tipoLigante;
    }

    public String getTipoMezcla() {
        return tipoMezcla;
    }

    public void setTipoMezcla(String tipoMezcla) {
        this.tipoMezcla = tipoMezcla;
    }

    public String getUbicacionMezcla() {
        return ubicacionMezcla;
    }

    public void setUbicacionMezcla(String ubicacionMezcla) {
        this.ubicacionMezcla = ubicacionMezcla;
    }

    public BigDecimal getTempMezcladoDiseno() {
        return tempMezcladoDiseno;
    }

    public void setTempMezcladoDiseno(BigDecimal tempMezcladoDiseno) {
        this.tempMezcladoDiseno = tempMezcladoDiseno;
    }

    public BigDecimal getTempCompactDiseno() {
        return tempCompactDiseno;
    }

    public void setTempCompactDiseno(BigDecimal tempCompactDiseno) {
        this.tempCompactDiseno = tempCompactDiseno;
    }

    public BigDecimal getTempSalidaPlantaCamion() {
        return tempSalidaPlantaCamion;
    }

    public void setTempSalidaPlantaCamion(BigDecimal tempSalidaPlantaCamion) {
        this.tempSalidaPlantaCamion = tempSalidaPlantaCamion;
    }

    public BigDecimal getTempLlegadaObraCamion() {
        return tempLlegadaObraCamion;
    }

    public void setTempLlegadaObraCamion(BigDecimal tempLlegadaObraCamion) {
        this.tempLlegadaObraCamion = tempLlegadaObraCamion;
    }

    public BigDecimal getTempCompactProb() {
        return tempCompactProb;
    }

    public void setTempCompactProb(BigDecimal tempCompactProb) {
        this.tempCompactProb = tempCompactProb;
    }

    public BigDecimal getTempCompactCarpeta() {
        return tempCompactCarpeta;
    }

    public void setTempCompactCarpeta(BigDecimal tempCompactCarpeta) {
        this.tempCompactCarpeta = tempCompactCarpeta;
    }

    public BigDecimal getTempAmbiente() {
        return tempAmbiente;
    }

    public void setTempAmbiente(BigDecimal tempAmbiente) {
        this.tempAmbiente = tempAmbiente;
    }

    public String getHoraTerminoDescarga() {
        return horaTerminoDescarga;
    }

    public void setHoraTerminoDescarga(String horaTerminoDescarga) {
        this.horaTerminoDescarga = horaTerminoDescarga;
    }

    public String getHoraSalidaCamion() {
        return horaSalidaCamion;
    }

    public void setHoraSalidaCamion(String horaSalidaCamion) {
        this.horaSalidaCamion = horaSalidaCamion;
    }

    public String getHoraLlegadaCamion() {
        return horaLlegadaCamion;
    }

    public void setHoraLlegadaCamion(String horaLlegadaCamion) {
        this.horaLlegadaCamion = horaLlegadaCamion;
    }

    public String getCodigoTermometro() {
        return codigoTermometro;
    }

    public void setCodigoTermometro(String codigoTermometro) {
        this.codigoTermometro = codigoTermometro;
    }

    public String getTipoTransito() {
        return tipoTransito;
    }

    public void setTipoTransito(String tipoTransito) {
        this.tipoTransito = tipoTransito;
    }

    public Integer getGuia() {
        return guia;
    }

    public void setGuia(Integer guia) {
        this.guia = guia;
    }

    public String getPatenteCamion() {
        return patenteCamion;
    }

    public void setPatenteCamion(String patenteCamion) {
        this.patenteCamion = patenteCamion;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof MarshallControl)) {
            return false;
        }
        MarshallControl other = (MarshallControl) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "entidades.MarshallControl[id=" + id + "]";
    }

}
